'use strict';

angular.module('fbdApp.ruleModule')

.filter('ruleFilter', function() {
  return function(rule) {
    var transRule = {};
    var name = rule.name;
    transRule[name] = rule;
    transRule[name]['subset'] = {};

    return transRule;
  }
});
